<?php
/** .-------------------------------------------------------------------
 * |      Site: www.hdcms.com  www.houdunren.com
 * |      Date: 2018/7/2 上午12:54
 * |    Author: 向军大叔 <2300071698@qq.com>
 * '-------------------------------------------------------------------*/
/**
 * 权限配置
 * 为了避免其他模块有同名的权限，权限标识要以 '控制器@方法' 开始
 */
return [
    [
        'group' => '轮播图模块管理',
        'permissions' => [
            ['title' => '轮播管理权限', 'name' => 'Modules\Slider\Http\Controllers\SliderUserController@index', 'guard' => 'admin'],
        ],
    ],
    [
        'group' => '轮播图管理',
        'permissions' => [
            ['title' => '轮播图列表', 'name' => 'Modules\Slider\Http\Controllers\SliderController@index', 'guard' => 'admin'],
            ['title' => '添加轮播图', 'name' => 'Modules\Slider\Http\Controllers\SliderController@create', 'guard' => 'admin'],
            ['title' => '编辑轮播图', 'name' => 'Modules\Slider\Http\Controllers\SliderController@edit', 'guard' => 'admin'],
            ['title' => '删除轮播图', 'name' => 'Modules\Slider\Http\Controllers\SliderController@destroy', 'guard' => 'admin'],
        ],
    ],
];
